package com.lijian.shiro.service;

import com.lijian.shiro.entity.User;

import java.util.List;

/**
 * @Author: LiJian
 * @CreateTime: 2024-12-26
 * Description:
 */

public interface UserService {
    //用户登录
    User getUserInfoByName(String name);

    String addUser(User user);

    User findUserByPhone(String phone);

    List<String> getUserRoleInfo(String principal);

    List<String> getUserPermissionInfo(List<String> roles);
}
